<?php require_once("dompdf_config.inc.php"); 

$html = '<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
    .cel{
        border: solid 1px;        
    }
    .TABLE{      
        border-collapse: collapse;
        border: 1px solid #000;
        font-size: smaller;
    }
    .DIV{
        border-collapse: collapse;
        border: 1px solid #000;
        font-size: smaller;

    }
    
</style>
<body style="font-size: smaller">        
<div style="width: 810px;>Ano:&nbsp;2011 <div>Ptres:&nbsp;111111&nbsp;&nbsp;&nbsp;&nbsp;A&ccedil;&atilde;o Or&ccedil;ament&aacute;ria: 2eeeee
                                     <div>Fonte de Recurso:&nbsp;0000002222<tr>

                                        <td colspan="2">
                                          <table border="1" class="TABLE">
                                            <tr>
                                            <th style="width: 80px;">Data Res.</th>
                                            <th style="width: 80px;">Data Emp.</th>
                                            <th style="width: 150px;">Natureza</th>
                                            <th style="width: 150px;">SubElemento</th>

                                            <th style="width: 100px;">Processo</th>
                                            <th style="width: 200px;">Despesa</th>
                                            <th style="width: 200px;">Cpf/Cnpj / Empresa</th>
                                            <th style="width: 100px;">Valor Reservado</th>
                                            <th style="width: 100px;">Valor Empenhado</th>
                                            </tr>

                                            <tr>
                                                <td>2011-03-28</td>
                                                <td>2011-04-19 09:00:14</td>    
                                                <td>MATERIAL, BEM OU SERVICO P/ DISTRIB GRATUITA</td>    
                                                <td>MATERIAL EDUCACIONAL E CULTURAL</td>    
                                                <td>22222222222222222</td>
                                                <td>eee</td>    
                                                <td>07826170427 - Fornecedor de materiais</td>

                                                <td align="right">R$&nbsp;2,22</td>        
                                                <td align="right">R$&nbsp;2,22</td>    
                                            </tr>
                                          </table>
                                        </td>
                                       </tr><tr>
                                        <td colspan="2">
                                          <table border="1" class="table">

                                            <tr>
                                            <th style="width: 80px;">Data Res.</th>
                                            <th style="width: 80px;">Data Emp.</th>
                                            <th style="width: 150px;">Natureza</th>
                                            <th style="width: 150px;">SubElemento</th>
                                            <th style="width: 100px;">Processo</th>

                                            <th style="width: 200px;">Despesa</th>
                                            <th style="width: 200px;">Cpf/Cnpj / Empresa</th>
                                            <th style="width: 100px;">Valor Reservado</th>
                                            <th style="width: 100px;">Valor Empenhado</th>
                                            </tr>
                                            <tr>
                                                <td>2011-04-19</td>

                                                <td>2011-04-19 09:02:05</td>    
                                                <td>teste</td>    
                                                <td>eeeeeee</td>    
                                                <td>33333333333333333</td>
                                                <td>compra de material para compra compra de material para compra compra de material para compra compra de material para compra compra de material para compra compra de material para compra compra de material para compra compra de material para compra compra de material para compra </td>    
                                                <td>07826170427 - Fornecedor de materiais</td>
                                                <td align="right">R$&nbsp;100,00</td>        
                                                <td align="right">R$&nbsp;100,00</td>    
                                            </tr>

                                          </table>
                                        </td>
                                       </tr></div>
    </body>

</html>';

$dompdf = new DOMPDF();
$dompdf->load_html($html);
$dompdf->set_paper("a4", "landscape");
$dompdf->render();
$dompdf->stream("exemplo-01.pdf");
?> 